using System.Collections;
using System.Collections.Generic;
using UnityEngine;

public class Cell : MonoBehaviour
{
    public Plant nowPlant;
    private void OnMouseDown()
    {
        Hand.instance.OnCellClick(this);
    }
    public bool AddPlant(Plant plant)
    {
        if (nowPlant != null) return false;
        nowPlant = plant;
        nowPlant.transform.position = transform.position;
        plant.ToEnable();
        return true;
    }
}
